Optimal. Leaf size=103 \[ \frac {16 a^2 \sqrt {a x^2+b x^3}}{35 b^3}-\frac {32 a^3 \sqrt {a x^2+b x^3}}{35 b^4 x}-\frac {12 a x \sqrt {a x^2+b x^3}}{35 b^2}+\frac {2 x^2 \sqrt {a x^2+b x^3}}{7 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 103, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2041, 1602}
\begin {gather*} -\frac {32 a^3 \sqrt {a x^2+b x^3}}{35 b^4 x}+\frac {16 a^2 \sqrt {a x^2+b x^3}}{35 b^3}-\frac {12 a x \sqrt {a x^2+b x^3}}{35 b^2}+\frac {2 x^2 \sqrt {a x^2+b x^3}}{7 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1602
Rule 2041
Rubi steps
\begin {align*} \int \frac {x^4}{\sqrt {a x^2+b x^3}} \, dx &=\frac {2 x^2 \sqrt {a x^2+b x^3}}{7 b}-\frac {(6 a) \int \frac {x^3}{\sqrt {a x^2+b x^3}} \, dx}{7 b}\\ &=-\frac {12 a x \sqrt {a x^2+b x^3}}{35 b^2}+\frac {2 x^2 \sqrt {a x^2+b x^3}}{7 b}+\frac {\left (24 a^2\right ) \int \frac {x^2}{\sqrt {a x^2+b x^3}} \, dx}{35 b^2}\\ &=\frac {16 a^2 \sqrt {a x^2+b x^3}}{35 b^3}-\frac {12 a x \sqrt {a x^2+b x^3}}{35 b^2}+\frac {2 x^2 \sqrt {a x^2+b x^3}}{7 b}-\frac {\left (16 a^3\right ) \int \frac {x}{\sqrt {a x^2+b x^3}} \, dx}{35 b^3}\\ &=\frac {16 a^2 \sqrt {a x^2+b x^3}}{35 b^3}-\frac {32 a^3 \sqrt {a x^2+b x^3}}{35 b^4 x}-\frac {12 a x \sqrt {a x^2+b x^3}}{35 b^2}+\frac {2 x^2 \sqrt {a x^2+b x^3}}{7 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 53, normalized size = 0.51 \begin {gather*} \frac {2 \sqrt {x^2 (a+b x)} \left (-16 a^3+8 a^2 b x-6 a b^2 x^2+5 b^3 x^3\right )}{35 b^4 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.37, size = 55, normalized size = 0.53
method | result | size |
trager | \(-\frac {2 \left (-5 b^{3} x^{3}+6 a \,b^{2} x^{2}-8 a^{2} b x +16 a^{3}\right ) \sqrt {b \,x^{3}+a \,x^{2}}}{35 b^{4} x}\) | \(52\) |
risch | \(-\frac {2 x \left (b x +a \right ) \left (-5 b^{3} x^{3}+6 a \,b^{2} x^{2}-8 a^{2} b x +16 a^{3}\right )}{35 \sqrt {x^{2} \left (b x +a \right )}\, b^{4}}\) | \(53\) |
gosper | \(-\frac {2 \left (b x +a \right ) \left (-5 b^{3} x^{3}+6 a \,b^{2} x^{2}-8 a^{2} b x +16 a^{3}\right ) x}{35 b^{4} \sqrt {b \,x^{3}+a \,x^{2}}}\) | \(55\) |
default | \(-\frac {2 \left (b x +a \right ) \left (-5 b^{3} x^{3}+6 a \,b^{2} x^{2}-8 a^{2} b x +16 a^{3}\right ) x}{35 b^{4} \sqrt {b \,x^{3}+a \,x^{2}}}\) | \(55\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 53, normalized size = 0.51 \begin {gather*} \frac {2 \, {\left (5 \, b^{4} x^{4} - a b^{3} x^{3} + 2 \, a^{2} b^{2} x^{2} - 8 \, a^{3} b x - 16 \, a^{4}\right )}}{35 \, \sqrt {b x + a} b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.23, size = 51, normalized size = 0.50 \begin {gather*} \frac {2 \, {\left (5 \, b^{3} x^{3} - 6 \, a b^{2} x^{2} + 8 \, a^{2} b x - 16 \, a^{3}\right )} \sqrt {b x^{3} + a x^{2}}}{35 \, b^{4} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{4}}{\sqrt {x^{2} \left (a + b x\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.75, size = 64, normalized size = 0.62 \begin {gather*} \frac {32 \, a^{\frac {7}{2}} \mathrm {sgn}\left (x\right )}{35 \, b^{4}} + \frac {2 \, {\left (5 \, {\left (b x + a\right )}^{\frac {7}{2}} - 21 \, {\left (b x + a\right )}^{\frac {5}{2}} a + 35 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{2} - 35 \, \sqrt {b x + a} a^{3}\right )}}{35 \, b^{4} \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.19, size = 51, normalized size = 0.50 \begin {gather*} -\frac {2\,\sqrt {b\,x^3+a\,x^2}\,\left (16\,a^3-8\,a^2\,b\,x+6\,a\,b^2\,x^2-5\,b^3\,x^3\right )}{35\,b^4\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________